
<template>
  <!--
el-checkbox-group绑定v-model绑定数组
el-checkbox的label属性是该checkbox对应的值
若该标签中无内容，则该属性也充当checkbox按钮后的介绍。
-->
  <el-checkbox-group v-model="checkList">
    <el-checkbox label="复选框 A">aaaa</el-checkbox>
    <el-checkbox label="复选框 B" />
    <el-checkbox label="复选框 C" />
    <el-checkbox label="禁用" disabled />
    <el-checkbox label="选中且禁用" disabled />
  </el-checkbox-group>
</template>

<script>
export default {

  data() {
    return {
      checkList: ['选中且禁用', '复选框 A', '复选框 C']
    }
  }

}
</script>

<style>

</style>
